home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
UnrealScript Game Programming All in One
/
UnrealScriptGameProgrammingAllInOne.iso
/
start.exe
/
start.dxr
/
00003_Frame Loop.ls
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
2006-03-10
|
343 b
|
16 lines
on exitFrame me
if the frame = 4 then
if sprite(1).blend < 99 then
sprite(1).blend = sprite(1).blend + 2
else
if sprite(4).blend < 50 then
sprite(4).blend = sprite(4).blend + 2
sprite(5).blend = sprite(5).blend + 2
else
go(the frame + 1)
end if
end if
end if
go(the frame)
end